// require.js looks for the following global when initializing
var require = {
    baseUrl: ".",
    waitSeconds: 2000,
    paths: {
    	"ace":					"lib/ace/ace.min",
    	"ace-elements":			"lib/ace/ace-elements.min",
        "bootstrap":            "lib/bootstrap.min",
        "crossroads":           "lib/crossroads.min",
        "hasher":               "lib/hasher.min",
        "jquery":               "lib/jquery",
        "knockout":             "lib/knockout/knockout.debug",
        "ko-rest":              "lib/knockout/knockout-rest",
        "ko-mapping":			"lib/knockout/knockout.mapping",
        "knockout-projections": "lib/knockout/knockout-projections",
        "signals":              "lib/signals.min",
        "text":                 "lib/require/text",
        "flatten":				"lib/flatten",
        "jqx-all":              "lib/jqwidgets/jqx-all",
        "globalize":            "lib/jqwidgets/globalize",     
        "culture-zh":           "lib/jqwidgets/globalize.culture.zh-CN",
        "localization":         "lib/jqwidgets/localization",
        "dynaWindow":			"app/dynaWindow",
        "echarts":				"lib/echarts"
    },
    shim: {
    	"ace": { deps: ["jquery"] },
        "bootstrap": { deps: ["jquery"] },
        "culture-zh" : { deps: ["globalize"] },
        "localization" : { deps: ["culture-zh"] },
        "jqx-all": {
            export: "$",
            deps: ["jquery", "knockout"]
        }
    }
};
